using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;

namespace RandomSearch.PluginsCommon {
    [DataContract]
    public class SearchOptions {
        [DataMember]
        public bool IncludeSubfolders { get; set; }

        [DataMember]
        public string PathToRootFolder { get; set; }

        [DataMember]
        public FileAttributes? RequiredAttributes { get; set; }

        [DataMember]
        public long? MaxSize { get; set; }

        [DataMember]
        public long? MinSize { get; set; }

        [DataMember]
        public DateTime? DateFrom { get; set; }

        [DataMember]
        public DateTime? DateTo { get; set; }

        [DataMember]
        public string PluginId { get; set; }

        [DataMember]
        public Dictionary<string,string> Settings { get; set; }
    }
}